/*package com.jsj.bootdemo.controller;

import com.jsj.bootdemo.pojo.Info;
import com.jsj.bootdemo.service.infoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/test")
public class infoController  {

    @Autowired
    infoService infoservice;

    @GetMapping("/findall")
    public List findAll(){
        List all = infoservice.findAll();
        return all;
    }
}*/
